<li>
  <div class="listing box_in
<?php echo $listing['featuredClass'];?>
">
  
  
  <div class="img">
    <a href="
<?php echo $listing['url'];?>
" title="
<?php echo h($listing['title'])?>
">
  <?php echo $listing['img'];?>
      </a>
      
      <?php
if(cr("DealConfig.enable_deals"))
{
if(isset($listing['dealsInfo'])) 
{ 
echo $listing['dealsInfo'];
}
}
?>
  </div>
  
  <div class="desc">
    <a class="view_details" href="
<?php echo $listing['url'];?>
">
  View details
      </a>
      <?php 
$phone = '';
if(isset($addressInfo['phone']))
{
$phone = $addressInfo['phone'];
unset($addressInfo['phone']); 
}
?>
      <div class="address">
        <?php echo implode(", ", $addressInfo);  ?>
        <span>
          <?php echo $phone; ?>
        </span>
      </div>
      <div class="desc_l">
        
        
        <h3 class="listing_title" id="listing_head_
<?php echo $listingId?>
">
  <a title="
<?php echo h($listing['title'])?>
" href="
<?php echo $listing['url'];?>
">
  <?php echo $listing['title'];?>
  
  <span class="fa fa-map-marker">
  </span>
  </a>
              </h3>
              <p>
                <?php echo __("Added by")?>: 
                <?php 
echo $html->
link($user['display_name'], $user['profile_url'], array('title' =>
sprintf(__("%s's profile"),$user['display_name'])));
?>
                  
                  <?php echo $listing['postedTime'];?>
              </p>
              <p>
                <span class="category-str-list">
                  <?php echo __("Posted in")?> 
                  <?php echo $listing['listingCategoriesLinks']; ?>
                </span>
              </p>
              
              <div class="ratings">
                <?php echo $userRatingHtml; ?>
                <?php echo $editorRatingHtml; ?>
              </div>
              <div class="clear">
              </div>
              
      </div>
  </div>
  
  <?php echo $compareListingHtml;?>
  <?php
//@GEO MAP INTERACTION. 
echo $distanceHtml;?>
  
  <?php
//@GEO MAP INTERACTION. 
//echo $distanceHtml;?>
  <!--
<div class="review_bottom">



<?php echo $partialDescription;?>

<?php echo $viewPlansLink?>
<?php echo $readReviewLink;?>

<a href="
<?php echo $reviewItLink;?>
" title="
<?php echo sprintf(__("Review %s"),h($listing['title']))?>
" class="review_star">
<?php echo $reviewItTitle;?>
</a>

<?php echo $compareListingHtml;?>
<div class="clear">
</div>

</div>
-->
  <div class="clear">
  </div>
  
  
  </div>
</li>